@import "./base.css";
@import "./vant-reset.css";
@import "./normalize.css";

html {
  height: 100%;
}

body {
  color: var(--dx-color-text);
  min-height: 100%;
  background-color: var(--dx-color-bd);
  background-repeat: no-repeat;
  transition: color var(--dx-time-duration-lg), background-color var(--dx-time-duration-lg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans",
    "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: var(--dx-size-text-md);
  line-height: 1.4;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#app {
  margin: 0 auto;
  font-weight: normal;
}

.base-primary {
  color: var(--dx-color-primary);
}

input:-internal-autofill-selected {
  background-color: transparent !important;
}

/* 伸缩盒子模式 */
body.flex-wrap {
  height: 100%;
}
.flex-wrap > #app {
  height: 100%;
}
.flex-wrap .van-config-provider {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.flex-wrap .app-view {
  flex: 1 1 0;
}
.flex-wrap .van-tabbar__placeholder {
  flex: none;
}
